
<div id="left_avatar"> <a href="#"><img src="{$user_detail.avatar_path}" width="100" height="100" /></a> </div>
<div class="le_nav"> {if count($user_nav)>0}
  {foreach from=$user_nav item=nav name=nav }
  <ul  {if !$smarty.foreach.nav.last}style="border-bottom:none"{/if}>
    <li class="nav_tit">{$nav.name}</li>
    {if count($nav.item)>0}
    {foreach from=$nav.item item=i}
    <li><a href="{$i.url}"  {if $current_selected==$i.url}class="selected"{/if}>{$i.name}</a></li>
    {/foreach}
    {/if}
  </ul>
  {/foreach} 
  {/if} </div>
